
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #222;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏 */
nav {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 20px;
}

/*.nav-links a {*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    font-size: 16px;*/
/*}*/

/* 商品详情区域 */
.product-detail {
    display: flex;
    margin-top: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 商品图片区域 */
.product-images {
    width: 400px;
}

.main-image {
    width: 100%;
    height: 400px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
}

.thumbnail-list {
    display: flex;
}

.thumbnail {
    width: 70px;
    height: 70px;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #fb7299;
}

/* 商品信息区域 */
.product-info {
    flex: 1;
    padding-left: 30px;
}

.product-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.product-price {
    color: #fb7299;
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
}

.product-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.badge.highlight {
    background-color: #fff0f6;
    color: #ff4e80;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.service-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.service-item i {
    margin-right: 5px;
    color: #fb7299;
}

.spec-section {
    margin: 25px 0;
}

.spec-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.spec-content {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.brand-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.brand-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 商品详情展示区域 */
.product-description {
    margin-top: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.description-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.description-content {
    line-height: 1.8;
    color: #333;
}

.description-image {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.description-image img {
    max-width: 100%;
    border-radius: 4px;
}

/* 购买按钮 */
.buy-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #fb7299;
    color: white;
}

.btn-primary:hover {
    background-color: #ff85a8;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}
